package com.hxmall.appclient.client;

import com.hxmall.appclient.client.hystix.ProductFeignClientHystrix;
import org.springframework.cloud.openfeign.FeignClient;
import com.hxmall.commonservice.common.constants.feign.*;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Author Eirunye
 * Created by on 2018/9/10.
 * Describe
 */

@FeignClient(name = FeignApplicationName.ApplicationName.PRODUCT_SERVICE,fallback = ProductFeignClientHystrix.class)
public interface ProductFeignClient {

    @RequestMapping(value = "get/product")
    public String getProductTest();
}
